..Help .Objects

Delta

Returns the difference between succesive samples.

Pins
io letter name unit description
in x input auto input to be processed
out = auto difference between each sample

Parameters
name option key description
mode normal n Digital will make the delta negative. Absolute will make the delta positive.
digital d
absolute a

Notes
Use the digital mode to detect when a signal changing. The output will be negative (true) if adjacent samples are different. Otherwise it will be zero (false).
Absolute mode does the oposite, when adjacent sample are different, the output will positive (false). When adjacent samples are the same the output will be -0 (true).




©1999-2002 Andy J Turner
All rights reserved.